/// Creator:      gaoruishan
/// CreatDate:    2025-09-01
/// Description:  患者交接明细表
Class Nur.MNISV3.PHOStep Extends %Persistent
{

Relationship PHOFlow As Nur.MNISV3.PHOFlow [ Cardinality = parent, Inverse = PHOStep ];

Property PHONode As %String(TRUNCATE = 1);

Property EndFlag As %String(TRUNCATE = 1);

Property RecDate As %Date;

Property RecTime As %Time;

Property RecUser As %String(TRUNCATE = 1);

Property PHOForm As %String(TRUNCATE = 1);

Property NurRecId As %String(TRUNCATE = 1);

/// 对应 item1~15的类型
Property ItemType As %Library.String(TRUNCATE = 1);

Property Item1 As %Library.String(TRUNCATE = 1);

Property Item2 As %Library.String(TRUNCATE = 1);

Property Item3 As %Library.String(TRUNCATE = 1);

Property Item4 As %Library.String(TRUNCATE = 1);

Property Item5 As %Library.String(TRUNCATE = 1);

Property Item6 As %Library.String(TRUNCATE = 1);

Property Item7 As %Library.String(TRUNCATE = 1);

Property Item8 As %Library.String(TRUNCATE = 1);

Property Item9 As %Library.String(TRUNCATE = 1);

Property Item10 As %Library.String(TRUNCATE = 1);

Property Item11 As %Library.String(TRUNCATE = 1);

Property Item12 As %Library.String(TRUNCATE = 1);

Property Item13 As %Library.String(TRUNCATE = 1);

Property Item14 As %Library.String(TRUNCATE = 1);

Property Item15 As %Library.String(TRUNCATE = 1);

Property Item16 As %Library.String(TRUNCATE = 1);

Property Item17 As %Library.String(TRUNCATE = 1);

Property Item18 As %Library.String(TRUNCATE = 1);

Property Item19 As %Library.String(TRUNCATE = 1);

Property Item20 As %Library.String(TRUNCATE = 1);

Property Item21 As %Library.String(TRUNCATE = 1);

Property Item22 As %Library.String(TRUNCATE = 1);

Property Item23 As %Library.String(TRUNCATE = 1);

Property Item24 As %Library.String(TRUNCATE = 1);

Property Item25 As %Library.String(TRUNCATE = 1);

Property Item26 As %Library.String(TRUNCATE = 1);

Property Item27 As %Library.String(TRUNCATE = 1);

Property Item28 As %Library.String(TRUNCATE = 1);

Property Item29 As %Library.String(TRUNCATE = 1);

Property Item30 As %Library.String(TRUNCATE = 1);

Storage Default
{
<Data name="PHOStepDefaultData">
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>PHONode</Value>
</Value>
<Value name="3">
<Value>EndFlag</Value>
</Value>
<Value name="4">
<Value>RecDate</Value>
</Value>
<Value name="5">
<Value>RecTime</Value>
</Value>
<Value name="6">
<Value>RecUser</Value>
</Value>
<Value name="7">
<Value>PHOForm</Value>
</Value>
<Value name="8">
<Value>NurRecId</Value>
</Value>
<Value name="9">
<Value>ItemType</Value>
</Value>
<Value name="10">
<Value>Item1</Value>
</Value>
<Value name="11">
<Value>Item2</Value>
</Value>
<Value name="12">
<Value>Item3</Value>
</Value>
<Value name="13">
<Value>Item4</Value>
</Value>
<Value name="14">
<Value>Item5</Value>
</Value>
<Value name="15">
<Value>Item6</Value>
</Value>
<Value name="16">
<Value>Item7</Value>
</Value>
<Value name="17">
<Value>Item8</Value>
</Value>
<Value name="18">
<Value>Item9</Value>
</Value>
<Value name="19">
<Value>Item10</Value>
</Value>
<Value name="20">
<Value>Item11</Value>
</Value>
<Value name="21">
<Value>Item12</Value>
</Value>
<Value name="22">
<Value>Item13</Value>
</Value>
<Value name="23">
<Value>Item14</Value>
</Value>
<Value name="24">
<Value>Item15</Value>
</Value>
<Value name="25">
<Value>Item16</Value>
</Value>
<Value name="26">
<Value>Item17</Value>
</Value>
<Value name="27">
<Value>Item18</Value>
</Value>
<Value name="28">
<Value>Item19</Value>
</Value>
<Value name="29">
<Value>Item20</Value>
</Value>
<Value name="30">
<Value>Item21</Value>
</Value>
<Value name="31">
<Value>Item22</Value>
</Value>
<Value name="32">
<Value>Item23</Value>
</Value>
<Value name="33">
<Value>Item24</Value>
</Value>
<Value name="34">
<Value>Item25</Value>
</Value>
<Value name="35">
<Value>Item26</Value>
</Value>
<Value name="36">
<Value>Item27</Value>
</Value>
<Value name="37">
<Value>Item28</Value>
</Value>
<Value name="38">
<Value>Item29</Value>
</Value>
<Value name="39">
<Value>Item30</Value>
</Value>
</Data>
<DataLocation>^Nur.MNISV3.PHOStepD</DataLocation>
<DefaultData>PHOStepDefaultData</DefaultData>
<IdLocation>^Nur.MNISV3.PHOStepD</IdLocation>
<IndexLocation>^Nur.MNISV3.PHOStepI</IndexLocation>
<StreamLocation>^Nur.MNISV3.PHOStepS</StreamLocation>
<Type>%Storage.Persistent</Type>
}

}
